<?php
/**
 * <https://y.st./>
 * Copyright © 2019 Alex Yst <mailto:copyright@y.st>
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <https://www.gnu.org./licenses/>.
**/

$xhtml = array(
	'<{title}>' => 'Another flat and another plan',
	'takedown' => '2017-11-01',
	'<{body}>' => <<<END
<img src="/img/CC_BY-SA_4.0/y.st./weblog/2019/03/15.jpg" alt="Emergency vehicles" class="framed-centred-image" width="649" height="480"/>
<section id="dreams">
	<h2>Dream journal</h2>
	<p>
		I dreamed I found a huge spider on the wall in a closet.
		It&apos;s body was as large as a tarantula&apos;s.
		It&apos;s legs were as thick as one&apos;s too, but about half the length.
		It was right near someone&apos;s head, as they were standing just outside the closet, so I grabbed them and gently pulled them a ways back from it, so when I pointed it out, they wouldn&apos;t get startled and lash out at it.
		I pointed it out, then went to find a large jar to catch it in.
		They showed a couple other people, but I couldn&apos;t find a jar and eventually gave up, letting it stay on the wall.
		I started getting ready for the day, and they asked me if I was busy today.
		They asked it in an accusatory way though, as if to say they knew I had time to spare.
		I really didn&apos;t though.
		I&apos;d have time for them tomorrow, but not today.
		So instead of answering directly, I started rattling off all the things I needed to get done today before work.
		They got the message that they couldn&apos;t guilt me into spending the day with them, and cut me off.
	</p>
</section>
<section id="drudgery">
	<h2>Drudgery</h2>
	<p>
		My discussion posts for the day:
	</p>
	<blockquote>
		<p>
			Why would $a[Tor] need to find available domains?
			If you&apos;re talking about onion addresses, nothing except probability keeps two services from using the same name.
			Basically, the service generates an encryption key, and the onion address is a hash of that key.
			So in order for two services to share a name, they&apos;d need to find a hash collision in a 32<sup>16</sup> hash space.
			If such extreme odds were in fact hit, my understanding is that onion services report their continued presence every so often, updating the list of available services.
			The last service to update would be the one that&apos;s reachable, so which one&apos;s reachable would switch back and forth if both services were up simultaneously.
			Finding such a hash collision would theoretically take longer than you have to live though, unless you got incredibly lucky.
		</p>
		<p>
			As for whois records and their usefulness in finding a domain ...
			The only real way to know if a domain name is registered is to check the whois records.
			A module like the one I talked about wouldn&apos;t be overly helpful for that, as it checks one domain at a time.
			However, if you do it from the command line, you can script the process.
			Make a list of all the $a[ccTLD]s, then make a list of all alphanumeric characters.
			Have your script try all combinations of these.
			Then you&apos;ve got to investigate the registries of the $a[ccTLD]s of the names you want.
			$a[ccTLD] registries don&apos;t play by the same rules as $a[gTLD] registries, so you may or may not be allowed to register a name under a given $a[ccTLD], and if you are allowed, you might not be allowed to register a short name.
			Or you could skip the research and check out <a href="https://y.st./en/URI_research/ccTLDs.xhtml">my notes on $a[ccTLD]s</a>.
			I have a further page dedicated to only <a href="https://y.st./en/URI_research/usable_ccTLDs.xhtml">usable $a[ccTLD]s</a> and a further page with <a href="https://y.st./en/URI_research/best_ccTLDs.xhtml">my top five $a[ccTLD] choices</a>.
			I spent a long time trying to find my name, and after that, I later went back to see if if I&apos;d chosen the right short name for me.
			I most certainly had.
		</p>
		<p>
			I hadn&apos;t heard of using whois records to find available $a[IP] addresses.
			Is there a way to pick your $a[IP] address though?
			Without one, knowing which are available isn&apos;t of much help.
			Come to think of it though, there are companies that use deliberately easy to remember $a[IP] addresses, so there <strong>*must*</strong> be a way.
			I&apos;m guessing it&apos;s rather expensive to pick your own $a[IP] address, but it&apos;s also often expensive to get a short domain name.
		</p>
	</blockquote>
	<blockquote>
		<p>
			I like how you mention being worried Google Structured Data Markup might break something, but that that&apos;s the cost of not requiring as much domain-specific knowledge.
			I actually worry about Joomla! in general in that regard.
			Joomla!&apos;s interesting, and I wouldn&apos;t hesitate too much in using it to build a website for a client that didn&apos;t know how to maintain a website without such software.
			However, the ease it provides is at the cost of not being able to apply standard Web techniques.
			For better or worse, you&apos;ve got to use the Joomla! interface.
			I&apos;m also curious about how well a plugin with &quot;Google&quot; in the name performs in relateion to non-Google search engines.
			If I were running a big business, optimising specifically for Google would likely be mandatory, due to Google&apos;s popularity.
			But because I&apos;m not, and because of Google&apos;s noxious policies, Google&apos;s the last search engine I think about.
			It&apos;s the better search engines that I care about.
		</p>
		<p>
			CookieHint seems like a great module.
			I&apos;m surprised Joomla! doesn&apos;t have that feature by default, to be honest.
			I guess the Joomla! team isn&apos;t based in the European Union, so they&apos;re not <strong>*obligated*</strong> to provide the cookie notice, but they know that they have a global user base.
		</p>
	</blockquote>
</section>
<section id="memories">
	<h2>Memories</h2>
	<p>
		I want to get a section set up on this site dedicated to rehashing my old memories.
		I mean, my journal lets me record things as they happen, but my journal only goes back to the point at which I was recovering from the great data loss indecent.
		Journal paged from before that point were just lost.
		I&apos;d like to rewrite about some of my past, even though I no longer have the relevant dates and my memory is a bit hazy.
		It&apos;d be better than nothing.
		Thinking back though, I have so many memories about events that were important to me.
		A lot more than I realised, actually.
		It&apos;ll be nice to get work through those, both the good and the bad.
		I&apos;ve made the changes to my source code needed to get pages for such memories into the weblog directory without attaching a particular date to them, which is something the weblog code previously specifically prohibited.
		I don&apos;t have the time now to work on those though.
		I spent too much time today thinking about the past when I should have been working on coursework.
	</p>
</section>
<section id="flat">
	<h2><strong>*Another*</strong> flat tire!?</h2>
	<p>
		I drug my heals heading out the door to work today.
		I wanted to squeeze in as much study time as I could.
		I&apos;m already losing more time than before, starting this week, so  I need to make the most of the time I have.
		So I left myself just enough time to get there; normally, I instead head in a bit early.
		And what do I find as I try to leave?
		My tire is flat!!
		Two days ago, my back tire was flat.
		This time, it was my front tire.
		So instead of rushing to work, I had to change out my inner tube.
		Had I thought about it, I&apos;d&apos;ve just inflated the bad inner tube and biked to work, then walked the bike home as the tire would be empty again by then.
		I didn&apos;t even consider that until I was already pretty far into the process though, so it made no sense to stop and reverse what I&apos;d already done.
		I needed to press forward.
		I ended up making the trip in record time, but I was still fifteen minutes late.
	</p>
	<p>
		The bosses asked what had happened, but didn&apos;t reprimand me in any way.
		I used to show up early to work every day.
		I was there ten minute early, at a minimum.
		As of late, after this last time of the head manager pulling their garbage, I haven&apos;t been that early every day, but I&apos;m still never late.
		Except today, apparently.
		So without a history of tartiness, they were much more quick to forgive than might have been for someone that made a habit of coming in late.
	</p>
</section>
<section id="dietary">
	<h2>Dietary courses</h2>
	<p>
		The schedule from the clinic arrived in the mail today.
		What was that, two days from the time they said they&apos;d send it?
		It had to be two days ago, as that&apos;s when my tire went flat on my way to the clinic.
		The schedule&apos;s all in a fixed-width font with no images of any sort.
		I&apos;m really not sure why they couldn&apos;t email something like this.
		I guess if they want to waste postage though, that&apos;s their problem.
	</p>
	<p>
		I was going to put it away in my bedroom, but the schedule mentions diabetes several times, as well as the name of the clinic; a name she&apos;ll recognise as the hospital chain she gave birth to three of her children in.
		I guess this is a course to avoid getting diabetes or maybe how to eat better because you already have diabetes.
		My mother lacks the relevant context though.
		Oh, this is fantastic.
		If she sees this, she might flip out inside and actually reach out to me finally.
		So I&apos;ve stuck it to my calendar using a couple magnets.
		If the plan works, it&apos;ll be a chance to go much softer on her than I would with the letter I drafted to send her later.
		It&apos;ll still hurt her, but that&apos;s the only way to get her attention.
		I tried simply talking to her.
		She&apos;s got to see she&apos;s pushing me away.
		So I&apos;m putting that letter in her face, then when she asks, I won&apos;t explain it on the grounds that she clearly doesn&apos;t care about who I am as a person and clearly doesn&apos;t want me in her life.
		So it&apos;s none of her business.
		If she cared who I was, she wouldn&apos;t continue insisting I&apos;m a man no matter how much I protest.
		And if she wanted me in her life, she wouldn&apos;t be avoiding me.
		She&apos;s going to have to knock both those behaviours off real quick if she wants anything to do with me.
	</p>
</section>
END
);
